package com.yckj.day06;

/**
 * TODO
 *
 * @author shengyuee
 * @version 1.0
 * 2025/7/23 11:11
 */
public class CarTest {
    public static void main(String[] args) {
        // 创建对象
        Car car = new Car();
        car.color = "白色";
        car.num = 4;
        System.out.println(car.color+","+car.num);
        // 调用成员方法
        car.run();
        car.stop();
    }
}
